﻿@model IEnumerable<DAO.Report>

@{
    ViewBag.Title = "List";
}

<table class="table table-hover">
    <tr>
        <th>Название</th>
        <th>Описание</th>
        <th>Действия</th>
    </tr>
    @foreach (var report in Model)
    {
        <tr>
            <td>
                @report.Name
            </td>
            <td>
                @report.Description
            </td>
            <td>
                @Html.ActionLink("Просмотр", "ViewReport", new { id = report.id })
            </td>
        </tr>
    }
</table>